package com.thouiot.modbus.entity.vo;

import java.util.HashMap;
import java.util.Map;

/**
 * @description 从机数据图
 * @author wangkai
 * @date 2025/04/17 10:33
 */
public class SlaveImageVo {

    private Map<Integer, Boolean> coils;
    private Map<Integer, Boolean> inputs;
    private Map<Integer, Short> holdingRegisters;
    private Map<Integer, Short> inputRegisters;

    public Map<Integer, Boolean> getCoils() {
        return coils;
    }

    public void setCoils(Map<Integer, Boolean> coils) {
        this.coils = coils;
    }

    public Map<Integer, Boolean> getInputs() {
        return inputs;
    }

    public void setInputs(Map<Integer, Boolean> inputs) {
        this.inputs = inputs;
    }

    public Map<Integer, Short> getHoldingRegisters() {
        return holdingRegisters;
    }

    public void setHoldingRegisters(Map<Integer, Short> holdingRegisters) {
        this.holdingRegisters = holdingRegisters;
    }

    public Map<Integer, Short> getInputRegisters() {
        return inputRegisters;
    }

    public void setInputRegisters(Map<Integer, Short> inputRegisters) {
        this.inputRegisters = inputRegisters;
    }
}
